package com.grep.extra.factory.data.impl;

import com.grep.base.util.PropertiesUtil;
import com.grep.extra.factory.data.IUrl;

public class SiteUrl implements IUrl {
	
	private String id ;      
	
	private String siteName ;            
	
	private String siteUrl ;
	
	private String siteLogo ;
	
	private String siteDesc ;
	
	private String siteEnname ;
	
	//此属性为网站目录的相对路径
	private String path = null ;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public String getSiteUrl() {
		return siteUrl;
	}

	public void setSiteUrl(String siteUrl) {
		this.siteUrl = siteUrl;
	}

	public String getSiteLogo() {
		return siteLogo;
	}

	public void setSiteLogo(String siteLogo) {
		this.siteLogo = siteLogo;
	}

	public String getSiteDesc() {
		return siteDesc;
	}

	public void setSiteDesc(String siteDesc) {
		this.siteDesc = siteDesc;
	}

	public String getSiteEnname() {
		return siteEnname;
	}

	public void setSiteEnname(String siteEnname) {
		this.siteEnname = siteEnname;
	}

	public String getPath() {
		
		return PropertiesUtil.getInstance().geRootPath() + "//" + siteEnname;
	}

	public void setPath(String path) {
		this.path = path;
	}
	
	
}
